package com.exam.model;

/**
 * 成绩类
 * @author 刘楠
 *
 */
public class GradeModel {
	
	private Integer id;
	private int pid;       
	private String sid;    //考生
	private String score;  //分数
	private String qids;   //所有试题
	private String errQid; //错误试题
	
	//派生字段
	private String sname; //学生名
	private String pname; //试卷名
	private String group; //所属组
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public String getScore() {
		return score;
	}
	public void setScore(String score) {
		this.score = score;
	}
	public String getQids() {
		return qids;
	}
	public void setQids(String qids) {
		this.qids = qids;
	}
	public String getErrQid() {
		return errQid;
	}
	public void setErrQid(String errQid) {
		this.errQid = errQid;
	}
	
	
	
	
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	@Override
	public String toString() {
		return "GradeModel [id=" + id + ", pid=" + pid + ", sid=" + sid
				+ ", score=" + score + ", qids=" + qids + ", errQid=" + errQid
				+ ", sName=" + sname + ", pName=" + pname + "]";
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	
	
}
